package com.gimi.cloud.jimi.dto.app;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.gimi.cloud.jimi.dto.product.ProductDto;
import com.gimi.cloud.jimi.dto.base.BaseDTO;

import javax.validation.constraints.NotNull;

/**
 * 栏位商品列表
 * @author chendi
 * @date 2018年1月16日
 */
public class ColumnProdDTO  extends BaseDTO {

	@NotNull(groups = ColumnProdList.class,message = "页码不能为空")
    private Integer currentPage;//当前页

	@NotNull(groups = ColumnProdList.class,message = "pageSize不能为空")
    private Integer pageSize; //一页展示多少条数据
	
    private Integer id;

    @NotNull(groups = ColumnProdList.class,message = "栏目id不能为空")
    private Integer columnId;
    
    private String prodId;

    private String sort;
    
    private Date createTime;
    
    private Date modifyTime;

    private String prodName;

	private Double prodPrice;
	private Double prodMinPrice;
	private Double prodMaxPrice;

    public interface ColumnProdList{}

//    private ProductDto product ;

    private List<Map<String,Object>> addBatchParam;//批量添加的时候用

	public List<Map<String, Object>> getAddBatchParam() {
		return addBatchParam;
	}

	public void setAddBatchParam(List<Map<String, Object>> addBatchParam) {
		this.addBatchParam = addBatchParam;
	}

	public String getProdName() {
		return prodName;
	}

	public void setProdName(String prodName) {
		this.prodName = prodName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getColumnId() {
		return columnId;
	}

	public void setColumnId(Integer columnId) {
		this.columnId = columnId;
	}

	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Double getProdPrice() {
		return prodPrice;
	}

	public void setProdPrice(Double prodPrice) {
		this.prodPrice = prodPrice;
	}

	public Double getProdMinPrice() {
		return prodMinPrice;
	}

	public void setProdMinPrice(Double prodMinPrice) {
		this.prodMinPrice = prodMinPrice;
	}

	public Double getProdMaxPrice() {
		return prodMaxPrice;
	}

	public void setProdMaxPrice(Double prodMaxPrice) {
		this.prodMaxPrice = prodMaxPrice;
	}

	//	public ProductDto getProduct() {
//		return product;
//	}
//
//	public void setProduct(ProductDto product) {
//		this.product = product;
//	}



    

   
}
